home *** CD-ROM | disk | FTP | other *** search
- From: Pacu@msn.com (kenneth long)
- Subject: Constructor?
- Date: 12 Jan 96 16:24:13 -0800
- Message-ID: <00001a80+00006b6c@msn.com>
- Path: news.msn.com!msn.com
- Newsgroups: comp.lang.c
- Organization: The Microsoft Network (msn.com)
-
- In a program example, I saw something similar to the following:
-
- public:
- CString str;
- (etc..)
-
-
- Later, in a function, I saw:
-
- Function()
-
- Cstring str;
- (etc..)
-
- In episode one, is it declaring str to be of CString type or is it
- constructed there? And in the second instance, inside of the
- function, is it being constructed or is it a variable of CString
- type? If this example is too vague, I will try to find the missing
- pieces, but I ask it in a general sense concerning the nature of
- constuctors and variable tpe declaration. Any help is appreciated via
- personal e-mail. Pacu.
-
-